﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/admin.master" AutoEventWireup="true" Inherits="Admin_change_password" Codebehind="change-password.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="divMessage" runat="server" visible="false">
        <asp:Literal ID="lblMessage" runat="server"></asp:Literal>
    </div>
    <p>
        <label>
            Old Password:</label><br />
        <asp:TextBox ID="txtOldPassword" runat="server" CssClass="text grid-5-manual" Text=''
            TextMode="Password" />
        <asp:RequiredFieldValidator ID="rfvtxtOldPassword" runat="server" ErrorMessage="*"
            ControlToValidate="txtOldPassword" CssClass="required-field"></asp:RequiredFieldValidator>
        <br />
        <label>
            New Password:</label><br />
        <asp:TextBox ID="txtNewPassword" runat="server" CssClass="text grid-5-manual" Text=''
            TextMode="Password" />
        <asp:RequiredFieldValidator ID="rfvtxtTitle" runat="server" ErrorMessage="*" ControlToValidate="txtNewPassword"
            CssClass="required-field"></asp:RequiredFieldValidator>
        <br />
        <label>
            Retype New Password:</label><br />
        <asp:TextBox ID="txtRetype" runat="server" CssClass="text grid-5-manual" Text=''
            TextMode="Password" />
        <asp:CompareValidator ID="cmvtxtRetype" ControlToValidate="txtRetype" ControlToCompare="txtNewPassword"
            Display="Dynamic" SetFocusOnError="true" runat="server" ErrorMessage="not matched"
            CssClass="required-field"></asp:CompareValidator>
        <br />
        <asp:LinkButton ID="lnbSave" runat="server" CausesValidation="True" CssClass="button small blue"
            CommandName="Save" Text="Save" OnClick="lnbSave_Click" />
    </p>
</asp:Content>
